<?php
 $active=request()->controller().'/'.request()->action();

?>

<aside class="lt_aside_nav content mCustomScrollbar">
	<h2><a href="{:url('Index/index')}">起始页</a></h2>
	<ul>
		<if condition="$group_power eq 'all' || in_array('admin',$group_power)">
			<li>
				<dl>
					<dt>会员</dt>
					<dd>
						<a href="{:url('User/user_authority_list')}"  <eq name="active" value="User/user_authority_list">class="active"</eq>>会员等级</a>
					</dd>
				</dl>
			</li>
		</if>
		<if condition="$group_power eq 'all' || in_array('user',$group_power)">
			<li>
				<dl>
					<dt>用户</dt>
					<dd>
						<a href="{:url('User/lists')}"  <eq name="active" value="User/lists">class="active"</eq>>用户列表</a>
					</dd>
				</dl>
			</li>
		</if>
		<if condition="$group_power eq 'all' || in_array('article',$group_power)">
			<li>
				<dl>
					<dt>文章</dt>
					<dd>
						<a href="{:url('Dynamic/index')}"  <eq name="active" value="Dynamic/index">class="active"</eq>>文章列表</a>
					</dd>
					<dd>
						<a href="{:url('DynamicCategory/index')}"  <eq name="active" value="DynamicCategory/index">class="active"</eq>>分类列表</a>
					</dd>
				</dl>
			</li>
		</if>
		<if condition="$group_power eq 'all' || in_array('compay_project',$group_power)">
		<li>
			<dl>
				<dt>企业/项目</dt>
				<dd>
					<a href="{:url('Company/index')}"  <eq name="active" value="Company/index">class="active"</eq>>企业列表</a>
				</dd>
				<dd>
					<a href="{:url('Project/index')}"  <eq name="active" value="Project/index">class="active"</eq>>项目列表</a>
				</dd>
				<dd>
					<a href="{:url('Export/project_type')}"  <eq name="active" value="Export/project_type">class="active"</eq>>项目分类</a>
				</dd>
				<dd>
					<a href="{:url('Export/index')}"  <eq name="active" value="Export/index">class="active"</eq>>Excel导入</a>
				</dd>
			</dl>
		</li>
		</if>
		<if condition="$group_power eq 'all' || in_array('article_file',$group_power)">
		<li>
			<dl>
				<dt>公示/通知/政策/附件</dt>
				<dd>
					<a href="{:url('Publicity/index')}"  <eq name="active" value="Publicity/index">class="active"</eq>>公示列表</a>
				</dd>
				<dd>
					<a href="{:url('Notice/index')}"  <eq name="active" value="Notice/index">class="active"</eq>>通知列表</a>
				</dd>
				<dd>
					<a href="{:url('Policy/index')}"  <eq name="active" value="Policy/index">class="active"</eq>>政策列表</a>
				</dd>
				<dd>
					<a href="{:url('File/index')}"  <eq name="active" value="File/index">class="active"</eq>>附件列表</a>
				</dd>
			</dl>
		</li>
		</if>
		<if condition="$group_power eq 'all' || in_array('webset',$group_power)">
			<li>
				<dl>
					<dt>网站设置</dt>
					<dd>
						<a href="{:url('Set/index')}"  <eq name="active" value="Set/index">class="active"</eq>>网站资料</a>
					</dd>
					<dd>
						<a href="{:url('Set/About')}"  <eq name="active" value="Set/About">class="active"</eq>>关于我们</a>
					</dd>
					<!--<dd>-->
						<!--<a href="{:url('Set/state')}"  <eq name="active" value="Set/state">class="active"</eq>>国家列表</a>-->
					<!--</dd>-->
				</dl>
			</li>
		</if>
 		<if condition="$group_power eq 'all' || in_array('join',$group_power)">
			<li>
				<dl>
					<dt>加入我们</dt>
					<dd>
						<a href="{:url('Mechanism/category_list')}"  <eq name="active" value="Mechanism/category_list">class="active"</eq>>分类</a>
					</dd>
					<dd>
						<a href="{:url('Mechanism/lists')}"  <eq name="active" value="Mechanism/lists">class="active"</eq>>列表</a>
					</dd>
				</dl>
			</li>
		</if>
		<if condition="$group_power eq 'all' || in_array('admin',$group_power)">
			<li>
				<dl>
					<dt>权限管理</dt>
					<dd>
						<a href="{:url('Admin/li')}"  <eq name="active" value="Admin/li">class="active"</eq>>管理员</a>
					</dd>
					<dd>
						<a href="{:url('Admin/role')}"  <eq name="active" value="Admin/role">class="active"</eq>>角色管理</a>
					</dd>
					<dd>
						<a href="{:url('Admin/right_list')}"  <eq name="active" value="Admin/right_list">class="active"</eq>>权限列表</a>
					</dd>
				</dl>
			</li>
		</if>
		<li>
			<p class="btm_infor">© 版权所有</p>
		</li>
	</ul>

</aside>
<section class="rt_wrap content mCustomScrollbar">
	<div class="rt_content">

		<!--点击加载-->
		<script>
			$(document).ready(function() {
				$("#loading").click(function() {
					$(".loading_area").fadeIn();
					$(".loading_area").fadeOut(1500);
				});
			});
		</script>
		<section class="loading_area">
			<div class="loading_cont">
				<div class="loading_icon"><i></i><i></i><i></i><i></i><i></i></div>
				<div class="loading_txt"><mark>数据正在加载，请稍后！</mark></div>
			</div>
		</section>
		<!--结束加载-->
		<!--弹出框效果-->
		<script>
			$(document).ready(function() {
				//弹出文本性提示框
				$("#showPopTxt").click(function() {
					$(".pop_bg").fadeIn();
				});
				//弹出：确认按钮
				$(".trueBtn").click(function() {
					alert("你点击了确认！"); //测试
					$(".pop_bg").fadeOut();
				});
				//弹出：取消或关闭按钮
				$(".falseBtn").click(function() {
					alert("你点击了取消/关闭！"); //测试
					$(".pop_bg").fadeOut();
				});
			});
		</script>
		<section class="pop_bg">
			<div class="pop_cont">
				<!--title-->
				<h3>弹出提示标题</h3>
				<!--content-->
				<div class="pop_cont_input">
					<ul>
						<li>
							<span>标题</span>
							<input type="text" placeholder="定义提示语..." class="textbox" />
						</li>
						<li>
							<span class="ttl">城市</span>
							<select class="select">
								<option>选择省份</option>
							</select>
							<select class="select">
								<option>选择城市</option>
							</select>
							<select class="select">
								<option>选择区/县</option>
							</select>
						</li>
						<li>
							<span class="ttl">地址</span>
							<input type="text" placeholder="定义提示语..." class="textbox" />
						</li>
						<li>
							<span class="ttl">地址</span>
							<textarea class="textarea" style="height:50px;width:80%;"></textarea>
						</li>
					</ul>
				</div>
				<!--以pop_cont_text分界-->
				<div class="pop_cont_text">
					这里是文字性提示信息！
				</div>
				<!--bottom:operate->button-->
				<div class="btm_btn">
					<input type="button" value="确认" class="input_btn trueBtn" />
					<input type="button" value="关闭" class="input_btn falseBtn" />
				</div>
			</div>
		</section>
		<!--结束：弹出框效果-->